﻿<?php 
header("Pragma: public");
header("Expires: 0");
header("Accept-Ranges: bytes");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Content-Type: application/vnd.ms-word");
header('Content-Disposition: attachment; filename=anketa.doc');
header("Content-Transfer-Encoding: binary");
 //debug ($abiturient);
 //debug($professions);
//debug ($selectedprofessions);
?>
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 14">
<meta name=Originator content="Microsoft Word 14">

<title>Анкета</title>
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:204;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-520081665 -1073717157 41 0 66047 0;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:204;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-1593833729 1073750107 16 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:"";
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";
	mso-fareast-font-family:"Times New Roman";}
p.MsoHeading7, li.MsoHeading7, div.MsoHeading7
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-next:Обычный;
	margin:0cm;
	margin-bottom:.0001pt;
	text-align:center;
	mso-pagination:widow-orphan;
	page-break-after:avoid;
	mso-outline-level:7;
	font-size:16.0pt;
	font-family:"Times New Roman","serif";
	mso-fareast-font-family:"Times New Roman";
	font-weight:bold;
	mso-bidi-font-weight:normal;}
p.MsoHeader, li.MsoHeader, div.MsoHeader
	{mso-style-unhide:no;
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	tab-stops:center 207.65pt right 415.3pt;
	font-size:10.0pt;
	font-family:"Times New Roman","serif";
	mso-fareast-font-family:"Times New Roman";}
p.MsoFooter, li.MsoFooter, div.MsoFooter
	{mso-style-unhide:no;
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	tab-stops:center 207.65pt right 415.3pt;
	font-size:10.0pt;
	font-family:"Times New Roman","serif";
	mso-fareast-font-family:"Times New Roman";}
p.MsoBodyTextIndent, li.MsoBodyTextIndent, div.MsoBodyTextIndent
	{mso-style-unhide:no;
	margin:0cm;
	margin-bottom:.0001pt;
	text-align:justify;
	text-indent:1.0cm;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:"Times New Roman","serif";
	mso-fareast-font-family:"Times New Roman";
	layout-grid-mode:line;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-noshow:yes;
	mso-style-unhide:no;
	margin:0cm;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";
	mso-fareast-font-family:"Times New Roman";}
p.a, li.a, div.a
	{mso-style-name:" Знак";
	mso-style-unhide:no;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:8.0pt;
	margin-left:0cm;
	line-height:12.0pt;
	mso-line-height-rule:exactly;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Verdana","sans-serif";
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";
	mso-ansi-language:EN-US;
	mso-fareast-language:EN-US;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
	div.WordSection1
	{page:WordSection1;}
 /* List Definitions */
 @list l0
	{mso-list-id:1982733555;
	mso-list-type:hybrid;
	mso-list-template-ids:-1782556820 68747279 68747289 68747291 68747279 68747289 68747291 68747279 68747289 68747291;}
@list l0:level1
	{mso-level-tab-stop:18.0pt;
	mso-level-number-position:left;
	margin-left:18.0pt;
	text-indent:-18.0pt;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:54.0pt;
	mso-level-number-position:left;
	margin-left:54.0pt;
	text-indent:-18.0pt;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:90.0pt;
	mso-level-number-position:right;
	margin-left:90.0pt;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:126.0pt;
	mso-level-number-position:left;
	margin-left:126.0pt;
	text-indent:-18.0pt;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:162.0pt;
	mso-level-number-position:left;
	margin-left:162.0pt;
	text-indent:-18.0pt;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:198.0pt;
	mso-level-number-position:right;
	margin-left:198.0pt;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:234.0pt;
	mso-level-number-position:left;
	margin-left:234.0pt;
	text-indent:-18.0pt;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:270.0pt;
	mso-level-number-position:left;
	margin-left:270.0pt;
	text-indent:-18.0pt;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:306.0pt;
	mso-level-number-position:right;
	margin-left:306.0pt;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
-->
</style>
</head>

<body lang=RU style='tab-interval:35.45pt'>

<div class=WordSection1>

<p class=MsoNormal style='text-align:justify;tab-stops:207.0pt'><span
style='mso-bidi-font-style:italic'>Р</span>егистрационный номер <span
style='font-family:"Arial","sans-serif"'><?php echo $abiturient['Abiturient']['id'];?><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:225.0pt;text-align:justify'>Ректору ГОУ
ВПО КГМУ</p>

<p class=MsoNormal style='margin-left:225.0pt;text-align:justify'>Минздравсоцразвития
России, </p>

<p class=MsoNormal style='margin-left:225.0pt;text-align:justify'>профессору<span
style='mso-spacerun:yes'>  </span>В.А. Лазаренко</p>

<p class=MsoNormal style='text-align:justify'><i style='mso-bidi-font-style:
normal'>от<o:p></o:p></i></p>

<div align=center>

<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0
 style='margin-left:-12.6pt;border-collapse:collapse;border:none;mso-border-alt:
 solid windowtext .5pt;mso-yfti-tbllook:480;mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-border-insideh:.5pt solid windowtext;mso-border-insidev:.5pt solid windowtext'>
 <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes;
  height:98.35pt'>
  <td width=322 valign=top style='width:241.2pt;border:solid windowtext 1.0pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;height:98.35pt'>
  <p class=MsoNormal style='text-align:justify'>Фамилия <span style='font-size:
  14.0pt'><?php echo $abiturient['Abiturient']['lastname']; ?></span></p>
  <p class=MsoNormal style='text-align:justify'>Имя <span style='font-size:
  14.0pt'><?php echo $abiturient['Abiturient']['firstname']; ?></span><span style='font-size:16.0pt'><o:p></o:p></span></p>
  <p class=MsoNormal style='text-align:justify'>Отчество <span
  style='font-size:14.0pt'><?php echo $abiturient['Abiturient']['surname']; ?><o:p></o:p></span></p>
  <p class=MsoNormal><span style='font-size:4.0pt'><o:p>&nbsp;</o:p></span></p>
  <p class=MsoNormal>Дата рождения <?php echo $abiturient['Abiturient']['birthdate']; ?></p>
  <p class=MsoNormal style='text-align:justify'><span style='font-size:4.0pt'><o:p>&nbsp;</o:p></span></p>
  <p class=MsoNormal style='text-align:justify'><span style='font-size:4.0pt'><o:p>&nbsp;</o:p></span></p>
  <p class=MsoNormal style='text-align:justify'>Место рождения<span
  style='mso-spacerun:yes'>  </span> <?php echo $abiturient['Abiturient']['passport_birthplace']; ?></p>
  </td>
  <td width=346 valign=top style='width:259.2pt;border:solid windowtext 1.0pt;
  border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
  solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;height:98.35pt'>
  <p class=MsoNormal style='text-align:justify'>Гражданство: <span
  style='font-size:16.0pt'><?php echo $abiturient['Citizenship']['name']; ?></span><span style='font-size:
  14.0pt'><o:p></o:p></span></p>
  <p class=MsoNormal>Документ, удостоверяющий личность,
  Паспорт </p>
  <p class=MsoNormal style='text-align:justify'>серия<span style='font-size:
  14.0pt'><?php echo $abiturient['Abiturient']['passport_ser']; ?> № <?php echo $abiturient['Abiturient']['passport_num']; ?><o:p></o:p></span></p>
  <p class=MsoNormal style='text-align:justify'><span style='font-size:4.0pt'><o:p>&nbsp;</o:p></span></p>
  <p class=MsoNormal style='text-align:justify'>Когда и кем <span class=GramE>выдан</span>:
 <?php echo $abiturient['Abiturient']['passport_data']; ?></p>
  </td>
 </tr>
</table>

</div>

<p class=MsoNormal style='text-align:justify;line-height:81%'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify'><span class=GramE>Проживающего</span>
(ей) по адресу (прописка): <span style='mso-spacerun:yes'> </span><?php echo $abiturient['Abiturient']['adress']; ?></p>

<p class=MsoNormal style='text-align:justify'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-align:justify'>телефон (дом<span class=GramE>., </span>моб.)
<?php echo $abiturient['Abiturient']['mobile']; ?></p>

<p class=MsoHeading7 style='line-height:150%'><span style='font-size:12.0pt;
line-height:150%;font-weight:normal'><o:p>&nbsp;</o:p></span></p>

<p class=MsoHeading7 style='line-height:150%'>ЗАЯВЛЕНИЕ</p>

<p class=MsoNormal style='text-align:justify;text-indent:36.0pt;line-height:
150%'>Прошу допустить меня к участию в конкурсе по направлениям подготовки (специальностям)
и формам обучения высшего и/или среднего профессионального образования, в
соответствии с моим выбором в следующем порядке:</p>

<table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0 width=679
 style='width:509.4pt;border-collapse:collapse;border:none;mso-border-alt:solid windowtext .5pt;
 mso-yfti-tbllook:480;mso-padding-alt:0cm 5.4pt 0cm 5.4pt'>
 <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'>
  <td width=32 style='width:24.2pt;border:solid windowtext 1.0pt;mso-border-alt:
  solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal align=center style='text-align:center;line-height:81%'><span
  style='font-size:14.0pt;line-height:81%'>№<o:p></o:p></span></p>
  </td>
  <td width=419 style='width:314.2pt;border:solid windowtext 1.0pt;border-left:
  none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal align=center style='text-align:center;line-height:81%'><span
  style='font-size:14.0pt;line-height:81%'>Специальность/ форма обучения /
  образовательная программа (высшее, среднее)<o:p></o:p></span></p>
  </td>
  <td width=108 style='width:81.0pt;border:solid windowtext 1.0pt;border-left:
  none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal align=center style='text-align:center;line-height:81%'><span
  style='font-size:14.0pt;line-height:81%'>Бюджетная форма<o:p></o:p></span></p>
  </td>
  <td width=120 style='width:90.0pt;border:solid windowtext 1.0pt;border-left:
  none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal align=center style='text-align:center;line-height:81%'><span
  class=GramE><span style='font-size:14.0pt;line-height:81%'>Внебюджет-ная</span></span><span
  style='font-size:14.0pt;line-height:81%'> форма<o:p></o:p></span></p>
  </td>
 </tr>
 <!-- *************************************************** -->
<?php 
$i=0;
foreach ($selectedprofessions as $selectedprofession):

?>
<tr style='mso-yfti-irow:1'>
  <td width=32 valign=top style='width:24.2pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='margin-left:18.0pt;text-align:justify;text-indent:
  -18.0pt;line-height:81%;mso-list:l0 level1 lfo1;tab-stops:list 18.0pt'>
  <?php $i++;
  echo $i;
  ?>
  </p>
  </td>
  <td width=419 valign=top style='width:314.2pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='text-align:justify;line-height:81%'><span
  style='font-size:16.0pt;line-height:81%'></span>
  
 <?php 
    foreach ($professions as $profession):
  	if ($selectedprofession['Selectedprofession']['profession_id'] == $profession['Profession']['id']){
  		echo $profession['Profession']['name'];}
        endforeach;
  echo "/";
  foreach ($learningforms as $learningform):
  if($selectedprofession['Selectedprofession']['learningform_id']==$learningform['Learningform']['id'] )
  {echo $learningform['Learningform']['name'];}
  endforeach;
  
 ?>

</p>
  </td>
  <td width=108 valign=top style='width:81.0pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal align=center style='text-align:center;line-height:81%'><span
  style='font-size:16.0pt;line-height:81%;font-family:"Courier New"'>
  
   <?php 
    foreach ($learningtypes as $learningtype):
  	if ($selectedprofession['Selectedprofession']['learningtype_id'] == $learningtype['Learningtype']['id']){
  	 if ($learningtype['Learningtype']['id']=='1') 
  	 {
  	  echo "X";	
  	 }}
  endforeach;
  ?>
</span><span
  style='font-size:16.0pt;line-height:81%'></span></p>
  </td>
  <td width=120 valign=top style='width:90.0pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal align=center style='text-align:center;line-height:81%'><span
  style='font-size:16.0pt;line-height:81%;font-family:"Courier New"'>
     <?php 
    foreach ($learningtypes as $learningtype):
  	if ($selectedprofession['Selectedprofession']['learningtype_id'] == $learningtype['Learningtype']['id']){
  	 if ($learningtype['Learningtype']['id']=='2') 
  	 {
  	  echo "X";	
  	 }}
  endforeach;
  ?>
  </span><span
  style='font-size:16.0pt;line-height:81%'></span></p>
  </td>
 </tr>
 <?php 
 endforeach;
 ?>
 <!-- ********************************************************************* -->
</table>

<p class=MsoNormal style='text-align:justify;line-height:81%'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Порядок приоритетного поступления по факультетам
подтверждаю<span style='mso-spacerun:yes'>                </span><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>____________ <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:354.0pt;text-indent:35.4pt'><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'><span
style='mso-spacerun:yes'>     </span></span><span style='font-size:4.0pt;
font-family:"Arial","sans-serif"'>(Подпись <span class=GramE>поступающего</span>)</span><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;line-height:81%'>Наличие целевого
направления <span style='mso-tab-count:6'>                                                              </span>да
<span style='font-size:16.0pt;line-height:81%;font-family:"Courier New"'><?php  if ($abiturient['Targetingintake']) {echo " X";}
 ?>
</span><span style='mso-tab-count:2'>            </span>нет<span
style='font-size:14.0pt;line-height:81%'> </span><span style='font-size:16.0pt;
line-height:81%;font-family:"Courier New"'><?php  if (!$abiturient['Targetingintake']) {echo " X";} ?></span></p>

<p class=MsoNormal style='text-align:justify;line-height:150%'>Прошу засчитать
в качестве результатов вступительных испытаний следующее:</p>

<p class=MsoNormal style='text-align:justify'><span class=GramE><span
style='font-size:10.0pt'>(указать, где получена отметка:</span></span><span
style='font-size:10.0pt'> <span class=GramE>ЕГЭ – единый государственный
экзамен, О – олимпиада)</span><o:p></o:p></span></p>

<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 width=674
 style='width:505.4pt;border-collapse:collapse;border:none;mso-border-alt:solid windowtext .5pt;
 mso-yfti-tbllook:480;mso-padding-alt:0cm 5.4pt 0cm 5.4pt;mso-border-insideh:
 .5pt solid windowtext;mso-border-insidev:.5pt solid windowtext'>
 <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'>
  <td width=230 style='width:172.4pt;border:solid windowtext 1.0pt;mso-border-alt:
  solid windowtext .5pt;padding:0cm 1.4pt 0cm 1.4pt'>
  <p class=MsoNormal align=center style='text-align:center'>Наименование
  предмета</p>
  </td>
  <td width=72 style='width:54.0pt;border:solid windowtext 1.0pt;border-left:
  none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 1.4pt 0cm 1.4pt'>
  <p class=MsoNormal align=center style='text-align:center'>Отметка</p>
  <p class=MsoNormal align=center style='text-align:center'>(балл)</p>
  </td>
  <td width=72 style='width:54.0pt;border:solid windowtext 1.0pt;border-left:
  none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 1.4pt 0cm 1.4pt'>
  <p class=MsoNormal align=center style='text-align:center'>ЕГЭ (год)</p>
  </td>
  <td width=60 style='width:45.0pt;border:solid windowtext 1.0pt;border-left:
  none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 1.4pt 0cm 1.4pt'>
  <p class=MsoNormal align=center style='text-align:center'>О</p>
  <p class=MsoNormal align=center style='text-align:center'><span
  style='font-size:8.0pt'>(место)<o:p></o:p></span></p>
  </td>
  <td width=240 style='width:180.0pt;border:solid windowtext 1.0pt;border-left:
  none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 1.4pt 0cm 1.4pt'>
  <p class=MsoNormal align=center style='text-align:center'>Наименование и
  номер документа</p>
  </td>
 </tr>

 <?php 
        $t=0;
	foreach ($abiturient['Result'] as $result):
        $t++;

?>

 <tr style='mso-yfti-irow:1'>
  <td width=230 style='width:172.4pt;border:solid windowtext 1.0pt;border-top:
  none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 1.4pt 0cm 1.4pt'>
  <p class=MsoNormal align=center style='text-align:center;line-height:150%'>
  <?php 
  	echo $subjects[$result['subject_id']];
  ?>
  </p>
  </td>
  <td width=72 style='width:54.0pt;border-top:none;border-left:none;border-bottom:
  solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;mso-border-top-alt:
  solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
  solid windowtext .5pt;padding:0cm 1.4pt 0cm 1.4pt'>
  <p class=MsoNormal align=center style='text-align:center;line-height:150%'>
    <?php 
  	echo $result ['score'];
  ?>
  </p>
  </td>
  <td width=72 style='width:54.0pt;border-top:none;border-left:none;border-bottom:
  solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;mso-border-top-alt:
  solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
  solid windowtext .5pt;padding:0cm 1.4pt 0cm 1.4pt'>
  <p class=MsoNormal align=center style='text-align:center;line-height:150%'>
    <?php 
	// 1 ЕГЕ 2 ФЦТ 3 ОЛИМП
  	if ($result['resulttype_id'] == 1) {
		echo $result['year'];
		} 
  ?>
  </p>
  </td>
  <td width=60 style='width:45.0pt;border-top:none;border-left:none;border-bottom:
  solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;mso-border-top-alt:
  solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
  solid windowtext .5pt;padding:0cm 1.4pt 0cm 1.4pt'>
  <p class=MsoNormal align=center style='text-align:center;line-height:150%'>
    <?php 
    	if ($result['resulttype_id'] == 3) {
		echo ' X ';
		} 
  ?>
  </p>
  </td>
  <td width=240 style='width:180.0pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 1.4pt 0cm 1.4pt'>
  <p class=MsoNormal align=center style='text-align:center;line-height:150%'>
    <?php 
  	echo $result['data'];
  ?>
  </p>
  </td>
 </tr>
<?php 
endforeach;

if ($t<3) {
	for ($it=0; $it<3-$t; $it++ ){
?>
 <tr style='mso-yfti-irow:1'>
  <td width=230 style='width:172.4pt;border:solid windowtext 1.0pt;border-top:
  none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 1.4pt 0cm 1.4pt'>
  <p class=MsoNormal align=center style='text-align:center;line-height:150%'>
<span style='mso-spacerun:yes'>  </span> <o:p></o:p></span>
 
  </p>
  </td>
  <td width=72 style='width:54.0pt;border-top:none;border-left:none;border-bottom:
  solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;mso-border-top-alt:
  solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
  solid windowtext .5pt;padding:0cm 1.4pt 0cm 1.4pt'>
  <p class=MsoNormal align=center style='text-align:center;line-height:150%'>

<span style='mso-spacerun:yes'>  </span> <o:p></o:p></span>
  </p>
  </td>
  <td width=72 style='width:54.0pt;border-top:none;border-left:none;border-bottom:
  solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;mso-border-top-alt:
  solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
  solid windowtext .5pt;padding:0cm 1.4pt 0cm 1.4pt'>
  <p class=MsoNormal align=center style='text-align:center;line-height:150%'>
<span style='mso-spacerun:yes'>  </span> <o:p></o:p></span>

  </p>
  </td>
  <td width=60 style='width:45.0pt;border-top:none;border-left:none;border-bottom:
  solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;mso-border-top-alt:
  solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:
  solid windowtext .5pt;padding:0cm 1.4pt 0cm 1.4pt'>
  <p class=MsoNormal align=center style='text-align:center;line-height:150%'>
   <span style='mso-spacerun:yes'>  </span> <o:p></o:p></span>

  </p>
  </td>
  <td width=240 style='width:180.0pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0cm 1.4pt 0cm 1.4pt'>
  <p class=MsoNormal align=center style='text-align:center;line-height:150%'>
   <span style='mso-spacerun:yes'>  </span> <o:p></o:p></span>

  </p>
  </td>
 </tr>
<?php }}; ?>
</table>

<p class=MsoNormal style='text-align:justify'><span style='font-size:4.0pt;
font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-indent:36.0pt;line-height:
150%'><span style='font-size:8.0pt;line-height:150%'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify;text-indent:36.0pt;line-height:
150%'>Прошу допустить меня к вступительным испытаниям по следующим
общеобразовательным предметам:</p>

<p class=MsoNormal style='text-align:justify;line-height:150%'>___________________________________________________________________________</p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><o:p>&nbsp;</o:p></b></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'>О себе сообщаю следующее:<o:p></o:p></b></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='font-size:8.0pt'><o:p>&nbsp;</o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'>Окончи<span class=GramE>л(</span>а)
в <?php echo $abiturient['Abiturient']['schoolgraduated']?> году<span style='mso-tab-count:1'>          </span>общеобразовательное
учреждение <span style='font-size:16.0pt;font-family:"Courier New"'>&#9633;</span>;
</p>

<p class=MsoNormal style='text-align:justify'>образовательное учреждение
начального профессионального образования <span style='font-size:16.0pt;
font-family:"Courier New"'>&#9633;</span>;</p>

<p class=MsoNormal style='text-align:justify'>образовательное учреждение
среднего профессионального образования <span style='font-size:16.0pt;
font-family:"Courier New"'>&#9633;</span>;<span style='mso-spacerun:yes'> 
</span></p>

<p class=MsoNormal style='text-align:justify'>другое<span style='font-size:
16.0pt'> </span><span style='font-size:16.0pt;font-family:"Courier New"'>&#9633;</span><span
style='font-size:16.0pt'>.</span></p>

<p class=MsoNormal style='text-align:justify'>Аттестат<span style='font-size:
14.0pt'> </span><span style='font-size:16.0pt;font-family:"Courier New"'><?php if ($abiturient['Abiturient']['educationdoctype_id']== 1){echo ' X ';} ?></span>/
диплом<span style='font-size:14.0pt'> </span><span style='font-size:16.0pt;
font-family:"Courier New"'><?php if ($abiturient['Abiturient']['educationdoctype_id']!= 1){echo ' X ';} ?></span><span style='font-size:14.0pt'><span
style='mso-tab-count:1'>      </span></span><?php if ($abiturient['Abiturient']['educationdocdata']) {echo $abiturient['Abiturient']['educationdocdata'];} else  {echo "____________________________________________________";}?>.<span
style='font-size:14.0pt'><o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='font-size:8.0pt'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify;line-height:81%'>Победитель
(призер) всероссийских олимпиад (член сборной) <span style='font-size:16.0pt;
line-height:81%;font-family:"Courier New"'>&#9633;</span><span
style='font-size:14.0pt;line-height:81%'>.</span><span style='font-size:16.0pt;
line-height:81%'><o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify;line-height:150%'>Трудовой стаж
(если есть): _____ лет, ____ мес.</p>

<p class=MsoNormal style='text-align:justify'>Иностранный язык:<span
style='font-size:14.0pt'> </span><?php  
 	if ($abiturient['Abiturient']['schoolflanguage_id']) {
		echo $schoolflanguages[$abiturient['Abiturient']['schoolflanguage_id']];
		} 
	else{
		echo 'не изучал(а) ';}	
  	if ($abiturient['Abiturient']['schoolflanguage_id'] == 5) {
		echo "<p class=MsoNormal style='text-align:justify'>________________________________" ;
		}
	  ?></span><span style='font-size:14.0pt'><?php if (!$abiturient['Abiturient']['schoolflanguage_id'])
        	{
  	  echo " X ";} 
	  ?> </span></p>

<p class=MsoNormal style='text-align:left;line-height:150%'>При поступлении
имею следующие льготы _________________________________________</p>


<p class=MsoNormal style='text-align:left;line-height:150%'>Документ,
предоставляющий право на льготы _______________________________________.</p>

<p class=MsoNormal style='text-align:justify;line-height:150%'>Общежитие:<span
style='mso-tab-count:1'>  </span><span style='mso-spacerun:yes'>              
</span><span class=GramE>нуждаюсь</span><span style='font-size:14.0pt;
line-height:150%'> </span><span style='font-size:16.0pt;line-height:150%;
font-family:"Courier New"'>&#9633;</span><span style='mso-tab-count:1'>          </span><span
style='mso-spacerun:yes'>       </span>не нуждаюсь <span style='font-size:16.0pt;
line-height:150%;font-family:"Courier New"'>&#9633;</span><span
style='font-size:14.0pt;line-height:150%'>.</span></p>

<p class=MsoNormal style='margin-top:6.0pt;line-height:150%'>О себе
дополнительно сообщаю: <?php echo $abiturient['Abiturient']['moreinfo']?></p>


<p class=MsoNormal style='margin-top:6.0pt;text-align:justify;text-indent:36.0pt;
tab-stops:right 17.0cm'>«___»______________<span style='mso-spacerun:yes'> 
</span>2011г.<span style='mso-tab-count:1'>                                                                          </span><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>______________<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:378.0pt;text-indent:44.4pt'><span
style='font-size:4.0pt;font-family:"Arial","sans-serif"'>(Подпись <span
class=GramE>поступающего</span>)<o:p></o:p></span></p>

<p class=MsoNormal align=center style='margin-left:396.55pt;text-align:center;
text-indent:35.45pt'><span style='font-size:4.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'>Высшее профессиональное
образование получаю</p>

<p class=MsoNormal style='tab-stops:right 17.0cm'>впервые <span
style='font-size:16.0pt;font-family:"Courier New"'>&#9633;</span>,<span
style='mso-spacerun:yes'>        </span><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'><span style='mso-spacerun:yes'>  </span></span>не
впервые <span style='font-size:16.0pt;font-family:"Courier New"'>&#9633;</span><span
style='font-size:14.0pt'>.</span><span style='font-size:16.0pt'><span
style='mso-tab-count:1'>                                                                 </span></span><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>______________<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:378.0pt;text-indent:44.4pt'><span
style='font-size:4.0pt;font-family:"Arial","sans-serif"'>(Подпись <span
class=GramE>поступающего</span>)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:354.0pt;text-indent:35.4pt'><span
style='font-size:4.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='tab-stops:right 17.0cm'><span style='font-size:13.0pt;
color:black'>Подтверждаю, что пода<span class=GramE>л(</span>а) заявления в не
более чем пять вузов<span style='mso-tab-count:1'>                 </span></span><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>______________<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:378.0pt;text-indent:44.4pt'><span
style='font-size:4.0pt;font-family:"Arial","sans-serif"'>(Подпись <span
class=GramE>поступающего</span>)<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<table class=MsoTableGrid border=0 cellspacing=0 cellpadding=0
 style='border-collapse:collapse;border:none;mso-yfti-tbllook:480;mso-padding-alt:
 0cm 5.4pt 0cm 5.4pt;mso-border-insideh:none;mso-border-insidev:none'>
 <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes'>
  <td width=355 valign=top style='width:266.4pt;padding:0cm 5.4pt 0cm 5.4pt'>
  <p class=MsoNormal style='text-align:justify'>С лицензией на право
  осуществления образовательной деятельности, свидетельством о государственной
  аккредитации, Правилами приема и условиями обучения в данном образовательном
  учреждении, правилами подачи апелляций ознакомле<span class=GramE>н(</span>а):</p>
  </td>
 </tr>
</table>

<p class=MsoNormal style='margin-left:360.0pt;text-align:justify;text-indent:
29.95pt;tab-stops:right 17.0cm'><span style='font-size:13.0pt;color:black'><span
style='mso-tab-count:1'>      </span></span><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>______________<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:378.0pt;text-indent:44.4pt'><span
style='font-size:4.0pt;font-family:"Arial","sans-serif"'>(Подпись <span
class=GramE>поступающего</span>)<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'>С датой предоставления подлинника
документа </p>

<p class=MsoNormal style='text-align:justify;tab-stops:right 17.0cm'>об
образовании ознакомле<span class=GramE>н(</span>а)<span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>: <span style='mso-tab-count:1'>                                                                                  </span>______________<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:378.0pt;text-indent:44.4pt'><span
style='font-size:4.0pt;font-family:"Arial","sans-serif"'>(Подпись <span
class=GramE>поступающего</span>)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:354.1pt;text-align:justify;text-indent:
35.45pt'><span style='font-size:4.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'>Поставле<span class=GramE>н(</span>а)
в известность, что в случае предоставления </p>

<p class=MsoNormal style='text-align:justify'>сведений, не соответствующих
действительности, </p>

<p class=MsoNormal style='text-align:justify;tab-stops:right 17.0cm'>вуз
возвращает документы <span style='mso-tab-count:1'>                                                                                         </span><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>______________<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:378.0pt;text-indent:44.4pt'><span
style='font-size:4.0pt;font-family:"Arial","sans-serif"'>(Подпись <span
class=GramE>поступающего</span>)<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'><span style='mso-spacerun:yes'>      </span></span></p>

<p class=MsoNormal style='text-align:justify;tab-stops:right 17.0cm'>Подпись
ответственного лица приемной комиссии<span style='mso-tab-count:1'>                                               </span>_____________
</p>

<p class=MsoNormal style='text-align:justify'><span style='font-size:5.0pt'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>«___» ______________ 2011г.</p>

</div>

</body>

</html>